package com.deep.spring.v28.beanimport;

import org.springframework.context.annotation.Bean;

/**
 *
 */
public class MyConfig {


    @Bean
    public Dog getDog() {
        return new Dog();
    }

    @Bean
    public Cat getCat() {
        return new Cat();
    }

}
